using System.Xml.Linq;

namespace DeclarativeTest.Core
{
	/// <summary>
	/// This interface abstracts test suite parse from xml.
	/// <remarks>
	/// Used to parse xml to <see cref="TestSuiteInfo"/>
	/// </remarks>
	/// </summary>
	public interface ITestSuiteParser
	{
		/// <summary>
		/// Parses xml to <see cref="TestSuiteInfo"/>
		/// </summary>
		/// <param name="document">Xml document to parse</param>
		/// <returns>An instance of <see cref="TestSuiteInfo"/></returns>
		TestSuiteInfo ParseTestSuite( XDocument document );
	}
}